Azure DevOps Explained by Sjoukje Zaal & Stefano Demiliani & Amit Malik

Azure DevOps Explained by Sjoukje Zaal & Stefano Demiliani & Amit Malik

Author:Sjoukje Zaal & Stefano Demiliani & Amit Malik [Sjoukje Zaal]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2020-12-11T00:00:00+00:00


Navigate to the Test Assemblies task to open the settings.Under Execution settings, check the Code coverage enabled box:

Figure 5.17 – Enabling code coverage testing

Now, Save and queue the build, specify a save comment, and wait until the pipeline is fully executed. The Visual Studio Test task creates an artifact that contains .coverage files that can be downloaded and used for further analysis in Visual Studio.

After executing the pipeline, on the overview page of the build, select Code Coverage from the top menu and click on Download code coverage results. A file with the .coverage extension will be downloaded to your local filesystem.

Double-click the downloaded file so that it opens in Visual Studio. From here, you can drill down into the different classes and methods to get an overview of the test results:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.